package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 行动对象 az_action_record
 * 
 * @author liuwp
 * @date 2025-08-20
 */
@Data
public class ActionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String actionName;

    /** 图片 */
    @Excel(name = "图片")
    private String actionImage;

    /** 文件 */
    @Excel(name = "文件")
    private String actionFile;

    /** 行动类型 */
    @Excel(name = "行动类型", dictType = "az_action_type")
    private String actionType;

    /** 阅读时间 */
    @Excel(name = "阅读时间")
    private String actionReadTime;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 设备sn */
    @Excel(name = "设备sn")
    private String deviceSn;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 行动排序 */
    @Excel(name = "行动排序")
    private Long actionSort;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("actionName", getActionName())
            .append("actionImage", getActionImage())
            .append("actionFile", getActionFile())
            .append("actionType", getActionType())
            .append("actionReadTime", getActionReadTime())
            .append("description", getDescription())
            .append("remarks", getRemarks())
            .append("deviceSn", getDeviceSn())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
